package com.jxc.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Enterprisetype entity. @author MyEclipse Persistence Tools
 */

public class Enterprisetype implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private Set enterprises = new HashSet(0);

	// Constructors

	/** default constructor */
	public Enterprisetype() {
	}

	/** full constructor */
	public Enterprisetype(String name, Set enterprises) {
		this.name = name;
		this.enterprises = enterprises;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set getEnterprises() {
		return this.enterprises;
	}

	public void setEnterprises(Set enterprises) {
		this.enterprises = enterprises;
	}

}